#include <iostream>

#define eleType int

typedef struct SequentialList
{
    eleType *elements;
    int size;
    int capacity;
}SequentialList;
void init(SequentialList *list,int capacity);
int getsize(SequentialList *list);
void deleteElements(SequentialList *list);
bool isEmpty(SequentialList *list);
void insert(SequentialList *list, int index, eleType value);
void removeElement(SequentialList *list, int index);
int findEleindex(SequentialList *list, eleType value);
eleType getElement(SequentialList *list, int index);
void changeElement(SequentialList *list, int index, eleType value);



